Device and method for manipulating communication messages

ABSTRACT

A device for manipulating an operating state of a deterministic communication system is provided, which communication system includes a physical data bus, a plurality of nodes connected thereto, and an arrangement for transmitting messages in message frames at fixedly predefined communication cycles. The device is situated in the data bus between at least one node, from whose point of view the operating state of the communication system is manipulated, and the other nodes of the communication system. To make any desired manipulation of the operating state of the communication system possible, the manipulation device includes an arrangement for short-circuiting the data bus ( 2 ) and/or interrupting the data bus.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a device and a method for manipulating communication messages in a communication system which includes a data bus, a plurality of nodes connected thereto, and means for transmitting messages in message frames at fixedly predefined communication cycles. The present invention also relates to a communication system which includes a data bus, a plurality of network nodes connected thereto, and means for transmitting communication messages between the nodes via the data bus in message frames at fixedly predefined communication cycles.

2. Description of Related Art

Interconnection of control units, sensors, and actuators with the aid of a communication system and a communication link, for example, in the form of a data bus, has drastically increased in the past few years in particular in the automotive industry, but also in other areas such as mechanical engineering, especially in the machine tool industry and in automation. By connecting a plurality of stations or nodes to a data bus in a communication system, synergy effects may be achieved by distributing functions to a plurality of nodes. These are known as distributed systems.

Communication among different stations of such a communication system takes place via a data bus. This communication traffic on the bus system, access mechanisms, and receiving mechanisms, as well as error processing, are regulated via a data transmission protocol or a communication protocol. A protocol known from the related art, which provides for transmission of messages in message frames at fixedly predefined communication cycles is, for example, the FlexRay protocol. FlexRay is a high-speed, deterministic, and error-tolerant bus system, in particular for use in motor vehicles. The FlexRay protocol operates according to the time-division multiple-access (TDMA) principle, in which the stations or the messages to be transmitted are assigned fixed time slots in which they have exclusive access to the data bus. The time slots are repeated in a fixedly predefined communication cycle, so that the point in time at which a message is transmitted over the data bus may be accurately predicted, and bus access thus takes place deterministically.

In order to optimally utilize the bandwidth for message transmission on the data bus, FlexRay subdivides the communication cycle into a static and a dynamic part. The fixed time slots are located in the static part at the beginning of a communication cycle. In the dynamic part, the size of the time slots is dynamically predefined. Exclusive bus access in the time slot is enabled only for a short time, for the duration of at least one so-called minislot. Only if a bus access occurs within a minislot is the time slot extended for the time needed. The bandwidth is thus only used only if it is actually needed for transmitting information. Despite the deterministic character of FlexRay, it also allows event-controlled message transmission via the dynamic portion of a communication cycle.

Two separate channels are provided in FlexRay for data transmission. FlexRay communicates via one or two physically separated lines per channel at a data rate of 10 Mbit/s maximum each. Of course, FlexRay may also be operated at lower data rates. The lines of the two channels correspond to the physical layer, in particular of the so-called OSA (Open System Architecture) layer model. It is possible to use both channels for redundant and therefore error-tolerant transmission of messages, the same data then being transmitted simultaneously over both channels. Alternatively, different messages may also be transmitted over the two channels, whereby the data rate could then be doubled in the FlexRay communication system. It is also conceivable that the signal transmitted via the connecting lines results from the difference between the signals transmitted over the two lines. Finally, only one channel may also be used for the data transmission, in which case the other channel is unused and free. At this time typical FlexRay applications are designed redundantly to have one channel or two channels. The physical layer is designed in such a way that it makes both electrical and optical transmission of the signal(s) via the line(s) or transmission in other ways possible.

In order to implement synchronous functions in the communication system and optimize the bandwidth via the smallest possible intervals (idle times) between two messages, the nodes in the communication network need a common time base, the so-called global time. Synchronization messages are transmitted in the static part of the cycle for synchronizing local clocks of the nodes, the local times of the stations being corrected with the aid of a special algorithm according to the FlexRay specification in such a way that all local clocks run synchronously with a global clock.

A FlexRay station or FlexRay node contains a processor, a communication controller and, if bus monitoring is implemented, a so-called bus guardian. The processor delivers and processes the data which are received or transmitted via the communication controller. In addition, a FlexRay station includes a bus driver for access to the physical layer. For communication in a FlexRay network, messages may be configured to have up to 254 data bytes, for example.

At this time, in a deterministic communication system, it is not possible to perform targeted manipulation of the communication system from the point of view of defined nodes of the communication system. Such a manipulation may include a manipulation of the messages transmitted in the message frames, or of payload data of the messages and/or a manipulation of the physical data bus (e.g., short-circuit, interruption, intermittent electrical contact, etc.). Manipulating the operating state of the communication system may be advisable, for example, in connection with the design, layout, and a test operation of the communication system. By manipulating certain nodes of a communication system, it may be ascertained or checked how the node or the communication system responds to the manipulation and/or whether the node or the communication system responds as expected. The nodes from whose point of view the manipulation of the operating state of the communication system is performed are therefore also referred to as Device Under Test (DUT).

At this time, messages transmitted in a deterministic communication system are manipulated only at bit level. These manipulations are designed as stress tests for the communication system. In doing so, however, not the actual payload data, but only certain bits in the so-called header or in the so-called trailer of a message frame are modified. More extensive manipulation of transmitted messages or of payload data contained in the messages is not being practiced at this time and can currently not be implemented.

Manipulation of the operating state of a communication system would be possible in the related art at best by modifying the hardware and/or the software of the nodes. By using such manipulation at the nodes and/or on the data bus for test purposes, however, the tested communication system would no longer correspond to the communication system actually used in practice (without modifications at the nodes and on the data bus), and the test results would not be relevant for the actual practical application of the communication system.

BRIEF SUMMARY OF THE INVENTION

An object of the present invention is to make any desired manipulation of the operating state of a deterministic communication system, in particular a short-circuit, an interruption, and/or an intermittent electrical contact, possible in a targeted manner in a rather simple way in order to simulate defined operating states from the point of view of certain nodes of the communication system without modification of the hardware and/or the software being necessary at any node and/or on the data bus of the communication system.

To achieve this object, a manipulation device is proposed as part of a communication system which has a physical data bus and a plurality of nodes connected thereto. The manipulation of the operating state takes place from the point of view of at least one of the nodes and includes at least the manipulation of the physical data bus. In the communication system, messages are transmitted in message frames at fixedly predefined communication cycles. The manipulation device is situated in the data bus between the at least one node from whose point of view the operating state of the communication system is manipulated and the other nodes of the communication system. The device has means for short-circuiting the data bus and/or for interrupting the data bus.

According to the present invention, the operating state of the communication system may be modified in a targeted, simple, and cost-effective manner and, mainly, without need for the hardware or the software of the communication system to be modified with respect to its later regular use. The device according to the present invention is simply installed in the data bus at the desired point for test purposes and is removed again from the data bus for regular operation. Otherwise no changes are made in the communication system. This is the prerequisite for the information acquired during the test operation of the communication system to be really transferable to the actually implemented communication system and relevant for its practical application. The means for short-circuiting and/or interrupting the data bus are triggered by a control device (e.g., microcontroller) or an external signal in a suitable manner for manipulating the operating state of the communication system. Depending on the triggering, the means then interrupt the data bus, short-circuit it via defined resistors or simulate an intermittent electrical contact. This may be accomplished synchronously or asynchronously with the message transmission via the data bus. From the point of view of the at least one node (so-called DUT), there is then a short-circuit, an interruption, an intermittent electrical contact, or the like in the data bus. During the manipulation, it may be checked, in a targeted manner, whether the at least one node (DUT) responds to the modified operating state as expected or how the at least one node (DUT) responds. The design, layout, and the test operation of the communication system may thus be performed in a particularly simple and reliable, in particular a highly realistic and comprehensive, way. A communication system working in a particularly safe and reliable manner in different operating states may thus be implemented in this way.

It is proposed that the means for short-circuiting and/or interrupting the physical data bus include a switching element which is preferably designed as a simple or a multiple switch. A multiple switch is referred to as a multiplexer/demultiplexer. It connects a plurality of inputs and/or a plurality of outputs to one or more outputs or inputs, respectively. The switching element may be implemented in semiconductor technology and designed, for example, as a CMOS component.

According to an advantageous refinement of the present invention, not the original messages, but manipulated messages are transmitted in certain message frames in which messages are transmitted for at least one defined node of the communication system, which is to receive manipulated messages. The messages are manipulated by the manipulation device situated in the data bus, which intercepts and manipulates the transmitted original messages before they reach the node for which they are intended, and subsequently relays the manipulated messages to the node for which the original messages were originally intended. In this way, in addition to the manipulation of the physical data bus, manipulation of messages or the payload data contained therein is also possible in a simple manner, without requiring modification of the hardware and/or the software at any of the nodes of the communication system.

During a channel idle time (CIT), suitable switching elements of the device are preferably switched between the message frames in such a way that not the original message, but the manipulated message is transmitted to the test nodes in the following message frame. If the manipulated data assume absolute/constant values, there is no time limitation regarding the allocation to the time slots, i.e., the manipulated message may still be transmitted in the same time slot as the original message would have been. However, if signals that change over time are to be manipulated, the manipulated values must be calculated from the original values of the corresponding previous message, i.e., from the corresponding message of the previous time slot. This is because the current signal values are input by the device no sooner than in the time slot in which the manipulated signals are transmitted by the device to the test node(s). The manipulated messages may thus be received at the test node(s) only with a certain delay with respect to the actual original messages. The delay corresponds to the signal repeat rate (repeat rate of the messages), in particular to one or more communication cycles. This delay does not, however, affect regular operation of the communication system as long as the signal repeat rate is sufficiently high compared to the relevant signal change rate. For most mechanical systems, this means no limitation, since they have such an inertia that the repeat rate of the messages is usually sufficiently high compared to the signal change rate.

BRIEF DESCRIPTION OF SEVERAL VIEWS OF THE DRAWING

FIG. 1 shows a communication system according to the present invention having the device according to the present invention according to a first example embodiment.

FIG. 2 shows a communication system according to the present invention having the device according to the present invention according to another example embodiment.

FIG. 3 shows a wiring diagram of the communication system of FIG. 2.

FIG. 4 shows a communication system according to the present invention having a device according to the present invention according to another example embodiment.

FIG. 5 shows a wiring diagram of the communication system of FIG. 4.

FIG. 6 shows a communication system according to the present invention having a device according to the present invention according to another example embodiment.

FIG. 7 shows an exemplary graph of the communication cycles in the communication systems according to FIG. 1, 2, 4, or 6.

DETAILED DESCRIPTION OF THE INVENTION

The present invention relates to a communication system such as is illustrated in FIG. 1 and labeled, in its entirety, with reference numeral 1. Communication system 1 includes a physical data bus 2, which preferably has two separate physical lines per channel. For the sake of simplicity, data bus 2 is illustrated in the figures as a single line only. A plurality of nodes or stations 3, 4, is connected to data bus 2. During the design, layout, and/or test operation of communication system 1, it may be convenient to simulate defined operating states of communication system 1 from the point of view of one or more components 4; 4′, 4″, 4′″ (so-called Devices Under Test, DUT). This includes, for example, targeted manipulation of the physical communication level, in particular short-circuiting and/or interrupting data bus 2 or the simulation of an intermittent electrical contact in data bus 2. The simulation of certain operating states may also include the manipulation of the message frames which are transmitted to DUT components 4; 4′, 4″, 4′″ or transmitted thereby.

For manipulating an operating state of communication system 1, data bus 2 is interrupted between DUT components 4; 4′, 4″, 4′″ and the other components 3 of communication system 1 at a point 6, and a manipulation device 10 is installed therebetween. Device 10 includes means 11, 12, 13 for manipulating messages of DUT components 4; 4′, 4″, 4′″ or the message contents, in particular the payload data. In addition, device 10 includes a switching element 40 in the form of a switch or a multiplexer/demultiplexer. With the aid of switching element 40, data bus 2 may be interrupted (terminal 41), short-circuited via defined resistors 42, or an intermittent electrical contact of data bus 2 is simulated. This may be accomplished synchronously or asynchronously with the data transmission over data bus 2. The present invention is elucidated in greater detail below with reference to FIGS. 2 through 7. The discussions that follow apply, mutatis mutandis, to the exemplary embodiment of FIG. 1.

In FIG. 2, a communication system according to the present invention which, in the present exemplary embodiment, is designed as a FlexRay communication system is labeled in its entirety with reference numeral 1. The present invention is elucidated below in greater detail with reference to a FlexRay communication system, which is to be considered limiting only to the extent that the features of the communication system are prerequisites for the present invention. If these prerequisites are also given in another communication system, the present invention is also applicable to such a communication system. The present invention is thus applicable in general to bus systems in communication technology, in particular in communication systems in which the information to be transmitted is transmitted deterministically (at predefined points in time) in message frames over the bus system.

Communication system 1 includes a data bus 2 and a plurality of communication stations 3, 4, also referred to as nodes, connected thereto. Data bus 2 includes two channels ChA, ChB, and two lines BP (bus plus) and BM (bus minus) for each of the channels. Data bus 2 and nodes 3, 4 are all situated in a motor vehicle 5 in the described exemplary embodiment. Of course, data bus 2 and nodes 3, 4 may also be situated in a tool system, for example, in a machine tool, or a system from automation technology. Stations 3, 4 are control units for controlling and/or regulating certain functions of motor vehicle 5. They may be control units for the engine or the transmission, for an antilock system, a traction control system or an electronic stability program, or a control unit for implementing any comfort function (seat adjustment, air conditioning of the passenger compartment, etc.) in the vehicle. Control units 3, 4 exchange information via FlexRay data bus 2. In FlexRay communication system 1, the information is transmitted in message frames at fixedly predefined communication cycles. The FlexRay protocol operates according to the time-division multiple-access (TDMA) principle, in which nodes 3, 4 or the messages to be transmitted are assigned fixed time slots in the message frames in which they have exclusive access to data bus 2. The time slots are repeated in an established cycle, which usually corresponds to the communication cycle. It is also conceivable that the repeat cycle of the time slots corresponds to two, three, or even more communication cycles. In the communication cycles in between, another message or the message of another node 3, 4 may be transmitted in the corresponding message frame. This is also referred to as a multiplex operation of communication system 1. The point in time at which a message is transmitted via data bus 2 may thus be accurately predicted; bus access therefore takes place deterministically.

After designing and laying out a new communication system 1, it must be initially tested for reliability performance in different operating states. Messages manipulated in a targeted manner are supplied to some or all nodes 3, 4 consecutively either individually or in groups. The manipulation of messages includes any change, in particular of the payload data of the messages, for example, changes of status values, checksum values, offset values, offset ramps, sensitivity values, scaling values, etc. By manipulating messages or the payload data contained therein, different operating states of nodes 3, 4 of data bus 2, and/or of the entire communication system 1 may be simulated for test purposes. In the present exemplary embodiment, nodes 3 are being operated normally, and only node 4 is being tested. Node 4 is therefore also referred to as Device Under Test (DUT). The details of DUT 4 are illustrated in FIG. 3, according to which DUT 4 includes a communication controller (CC) 22 and a bus driver (BD) 23 for each channel ChA, ChB of data bus 2.

To be able to supply manipulated messages to node 4 to be tested in a simple manner, in particular without any modification and/or extension of the hardware and/or the software of node 4 or of other nodes 3 of communication system 1 being needed, according to the present invention, the use of a separate device is proposed, which is labeled with reference numeral 10 in its entirety in FIG. 2. Device 10 is installed in data bus 2 at a point 6, where data bus 2 has been interrupted, in such a way that it separates normally operated nodes 3 from node 4 to be tested. To interrupt data bus 2 between FlexRay cluster 4 to be manipulated (includes one or more nodes to be tested) and the remaining FlexRay bus 2, 3, an intermediate box or switch-off box 7 may be used, for example. Manipulation device 10 may also be connected to interrupted data bus 2 via this box 7.

A device which offers a FlexRay/FlexRay gateway function and is programmable may be used as a basis for device 10. For this purpose, device 10 has a programmable gateway 14. Gateway 14 has a gateway controller 11 and two separate nodes 12, 13, in the present exemplary embodiment two separate FlexRay nodes. Gateway controller 11 is connected to data bus 2 on both sides of isolating point 6 via the two FlexRay interfaces 12, 13. Nodes 12, 13 of device 10 may be software operated via a processor or via a plurality of processors communicating with each other. Gateway functions may also be implemented with the aid of a personal computer (PC) or a so-called embedded controller, which has suitable interfaces to communication system 1, so that at least two independent nodes of communication system 1 are available.

Furthermore, manipulation device 10 according to the present invention has additional hardware 15, which in the present exemplary embodiment includes two high-speed analog multiplexers per FlexRay line BP, BM. The wiring of analog multiplexers 16, 17 may be seen in particular in FIG. 3, where both the two channels ChA, ChB and the two lines BP, BM per channel of communication system 1 are illustrated. Multiplexers 16, 17 must be sufficiently fast for being able to switch over between two message frames before or after the corresponding message frame during the channel idle time without interfering with data bus 2. FIG. 3 also shows that each of the two FlexRay nodes 12, 13 of programmable gateway 14 of device 10 has a communication controller (CC) 19 and a bus driver (BD) 18 for each channel ChA, ChB. Furthermore, as FIG. 3 shows in particular, each switch 16, 17 includes two analog multiplexers (2×2:1). In the exemplary embodiment of FIGS. 2 and 3, switch 16 is used for preventing a termination network 21 from burdening the remaining FlexRay network 1 in the case where no manipulation of the messages takes place, i.e., the original messages are looped directly through device 10. Termination network 21 is a function of the network topology in which manipulation device 10 is connected in between. Therefore, it is recommended that termination 21 is switched on or off, for example, via software, independently of the switchover of multiplexers 16, 17. In addition, termination network 21 must be “biased” in such a way that physical data bus 2 is minimally interfered with. For this purpose, additional wiring of main FlexRay cluster 2, 3 may be needed.

Multiplexers 16, 17 must be activated or deactivated exactly when the particular bus driver (BD) 18 is activated or deactivated for the corresponding time slot for transmitting the manipulated message. The corresponding control signal for multiplexers 16, 17 is normally available in the hardware; if not, it must be generated with the aid of a (hardware) logic. However, as long as FlexRay communication controller (CC) 19 and FlexRay bus driver 18 are installed in separate modules, this control signal may usually be picked up directly between controller 19 and driver 18. In the depicted exemplary embodiment, signal TxEn is picked up as a control signal for multiplexers 16, 17, which is transmitted by communication controller 19 of transmitting node 13 of device 10 to the corresponding bus driver 18 for the two channels ChA, ChB. Control signal TxEn is conducted via a line 20 to the corresponding switching inputs SW of switches 16, 17. Switching element 40 may also be activated via line 20 using control signal TxEN (see FIG. 1).

If, in the exemplary embodiment of FIG. 1, the manipulation of the operating state of communication system 1 of switching element 40 cannot be activated by the software control of communication controller 19 of nodes 12, 13 of manipulation device 10 in a satisfactory manner, the following procedure may be used. Either the messages are simply copied unchanged, which does not modify the structure, or another controllable switch/multiplexer 16 allows the manipulated message to become blank 43 and FlexRay cluster 4, 4″, 4′″ to be tested to be served with the original message. For this purpose, the triggering logic for switching element 17 is to be modified, or additional switch/multiplexer 16 switches the connection to original data bus 2.

If communication system 1 and the corresponding communication protocol provide bus monitoring, a so-called bus guardian BG, in nodes 12, 13 (and also in nodes 3, 4), the control signal for switching over switching elements 16, 17 must be generated in such a way that the transmission of the manipulated messages or the original messages (messages are looped through device 10) does not conflict with the bus guardian. Furthermore, the control signal must be generated in such a way that the manipulation on the physical communication level with the help of switching element 40, for example, short-circuiting or interrupting data bus 2, does not conflict with the bus guardian.

The above-described principle of selective switchover (activation/deactivation of device 10) for manipulation purposes may be extended by using a plurality of multiplexers/switches 16, 17 or so-called crosspoint switches, making manipulations of messages or of the contents of the messages in both directions possible. A more comprehensive, flexible, and realistic test operation of system 1 may thus be performed.

Any computer program that supports the interfaces of communication system 1, in the described exemplary embodiment the FlexRay interfaces 12, 13, and is programmable in a corresponding manner may be used as software in programmable gateway 14. It may be, on the one hand, in-house generated proprietary software. It may, however, also be standard software freely available on the market, such as, for example, CANalyzer or CANoe by Vector Informatik GmbH, Ingersheimer Straβe 24, 70499 Stuttgart or similar software from other suppliers such as DeComSys. Especially preferred is the use of software capable of using Fibex files as input. The Field Bus Exchange format (Fibex) offers a standardized description of a network. In particular, a Fibex file contains information about the network topology, as well as about the behavior over time during information transmission in the network. The Fibex file includes, in particular, information about which node communicates with what other nodes in which time slot, the cycle duration, setup information for the communication controller, physical units of the transmitted data, etc. The Fibex file also includes information about which of the nodes transmits sync frames when. The Fibex file is usually presented in the XML (Extensible Markup Language) format and may therefore be easily processed and edited. XML is a metalanguage and a quasi-standard for generating structured documents in the World Wide Web or in intranets.

The Fibex file does not need to be modified for implementing the present invention. In the exemplary embodiment illustrated in FIGS. 2 and 3, the Fibex file is, however, modified in such a way that the one FlexRay node 12 of device 10 (monitoring function) only reads and the other FlexRay node 13 of device 10 transmits the manipulated message frames or the manipulated message or the manipulated data contained therein in the time slot in which the original message frame to be manipulated would have been transmitted. By switching over multiplexers 16, 17, which may be easily switched over without further logic at the same time when bus driver 18 is enabled, the manipulated message, instead of the original message, will then be transmitted to node 4 to be tested. Alternatively, it is also possible, without manipulating the Fibex file, to initialize the two FlexRay nodes 12, 13 of device 10 on the basis of the information from the Fibex file, enabling them to perform their specific functions. This means that node 12 is initialized in such a way that it only reads and buffers the complete messages of the message frames that are important for the manipulation (original message frames). The software routines then access these saved messages, i.e., the data contents contained therein, preferably the payload data contents, manipulate these data, and recompose them to form the messages, the manipulated messages.

These manipulated FlexRay messages are supplied to node 13, which then sends the manipulated frames or messages, instead of the original message frames or messages, to node 4 to be tested. FlexRay node 13 must be initialized in such a way that it becomes active only as a transmitter when the time slots of the original message frames are in the queue to be manipulated. Node 13 is therefore always in the queue for transmitting, when the original transmitter nodes 3 of the message frames relevant for the manipulation are also in the queue for transmitting these frames. The information which node 3 is at what point in the queue for transmitting may then be obtained from the Fibex file.

Since all participating network nodes 3, 4 are connected to each other, except in those time slots in which the manipulated messages are transmitted, the permanent synchronization of the network or of the local clocks of the individual components 3, 4 to the global time is not at risk. By being initialized, it is even possible that manipulation device 10 assumes or is able to assume the function of node 3 transmitting the original message, so that communication controller CC 19 of transmitting node 13 then transmits the message frame in the corresponding time slot as a sync frame. This is decided by the software alone, which has all relevant information due to the Fibex file.

Another exemplary embodiment illustrated in FIGS. 4 and 5 differs from the first exemplary embodiment from FIGS. 2 and 3 in particular by the fact that only one multiplexer channel per FlexRay line is needed. Therefore, in FIG. 4 only one switch 17 is shown in manipulation device 10 according to the present invention; switch 16 has been omitted. Accordingly, the detailed circuit of FIG. 5 also shows only first switch 17, which includes two analog multiplexers, one for each channel ChA, ChB. The individual multiplexers of switch 17 are wired according to the circuit of FIG. 5. The signal for activating the multiplexers is identical to the TxEn (Transmit Enable) signal which is transmitted by communication controller 19 to bus driver 18 of transmitting node 13. Activation signal TxEN for the multiplexers of switch 17 is applied to switching input SW of the multiplexers via lines 20. The multiplexers of switch 17 are easily switched over without further logic at the same time when bus driver 18 is enabled, so that the manipulated messages, instead of the original messages, will then be transmitted to device 4 to be tested.

FIG. 6 shows another exemplary embodiment of the present invention. The basic difference with respect to the exemplary embodiments of FIGS. 2 through 5 is that manipulation device 10 according to the present invention may be used not only for transmitting messages to be manipulated to a single node 4 to be tested, but also to a plurality of nodes 4′, 4″, 4′″ of a so-called subcluster. The information specifying which messages intended for nodes 4′, 4″, 4′″ should be intercepted and manipulated by device 10 must be present in manipulation device 10. Manipulated messages for node 4′ are transmitted in the time slot of the corresponding communication cycle provided therefor by node 13 of device 10. Manipulated messages intended for the other nodes 4″ and 4′″ to be tested are transmitted thereto in the corresponding time slots and communication cycles assigned to the original messages or to nodes 4″, 4′″ to be tested. Out of the plurality of message frames or messages transmitted on data bus 2, manipulation device 10 according to the present invention may also pick, in a targeted manner, those messages which are intended for one of nodes 4′, 4″, 4′″ of the subcluster, manipulate the intercepted messages or their contents as specified and transmit the manipulated messages to the corresponding nodes 4′, 4″, 4′″ to be tested of the subcluster.

The sequence of the method according to the present invention is elucidated in greater detail below with reference to FIG. 7. FIG. 7 shows a plurality of successive repeat cycles m, m+1 in FlexRay communication system 1. Each repeat cycle m, m+1 is subdivided into a plurality of communication cycles n, n+1, . . . . A cycle counter is incremented by 1 in each cycle n, n+1, . . . . The cycle counter preferably runs from 0 to 63 to then restart at 0. Alternatively, the cycle counter may also be decremented from 63 to 0 to then restart at 63. Each repeat cycle corresponds to a run of the cycle counter from 0 to 63 or from 63 to 0. Of course, any other value >0 may be chosen instead of the initial value or end value 63. Each cycle n, n+1, . . . is in turn subdivided into a plurality of time slots, of which one time slot x is shown in FIG. 7 as an example. Each time slot of a cycle is assigned to a certain node 3, 4 of communication system 1 and/or to a certain message. In the example illustrated in FIG. 7, a type of multiplexing is operated where time slot x is contained only in every second cycle n, n+2, n+4, . . . . In cycles n+1, n+3, n+5, . . . in between, the corresponding time slot may be used for transmitting another message or for transmitting messages from another node 3, 4.

The upper flow chart of FIG. 7 shows FlexRay messages of the original, unmanipulated network 1. The flow chart below it shows FlexRay messages as they arrive at node(s) 4 to be tested. Underneath the second flow chart, an enlargement of time slots x is illustrated. A rough subdivision of time slots x includes initially a channel idle time 33, followed by the actual FlexRay message frame 32 and a bit channel idle delimiter (CID), followed by another channel idle time 33. FlexRay message frame 32 is subdivided into header, payload, and trailer. The information of a message to be manipulated includes the information saved in FlexRay message frame 32, preferably payload data. In FIG. 7, arrows 30 indicate the points in time during channel idle times 33 at which communication controller 19 of device 10 switches the analog multiplexers of switch 16, 17 simultaneously with the activation/deactivation of bus driver 18, i.e., activates or deactivates the manipulation of the messages.

At the beginning of the communication, all nodes 3, 4 of communication system 1 are connected to each other (no isolating point 6). The initialization of communication system 1 and synchronization of all nodes 3, 4 therefore proceeds normally as in a conventional communication system 1. When the message to be manipulated is transmitted for the first time (cycle n in repeat cycle m), this message is relayed unchanged to device 4 to be tested, to which the original message is applied, i.e., in the first cycle n. This must be ensured by the software of manipulation device 10 or the software of programmable gateway 14. At the same time, the message relayed in the original is buffered in device 10, manipulated (function block 31), and written into communication controller 19 of transmitting node 13 of device 10 for next cycle n+2, when this time slot x is up again. Therefore this means that in cycle n+2 the original message transmitted in this cycle is intercepted by device 10. Instead of the intercepted original message from cycle n+2, the manipulated message from previous cycle n, when time slot x was last up, is transmitted to node(s) 4; 4′, 4″, 4′″ to be tested.

When time slot x of the message to be manipulated is up with the message transmission as scheduled, communication controller 19 of transmitting node 13 of manipulation device 10 activates bus driver 18 for a transmission message. Simultaneously with this signal, the multiplexers of switch 17 and, if present, 16, are switched over and thus in this time slot x the manipulated message is applied to FlexRay data bus 2 for node 4 to be tested or subcluster 4′, 4″, 4′″.

As soon as manipulation 31 is deactivated, the software of programmable gateway 14 must suppress the transmission of the message frame for time slot x to be manipulated. Multiplexers 16, 17 are thereby switched over, and the original data frame or the original message is relayed to test node 4 or subcluster 4′, 4″, 4′″.

Of course, the structure of the messages must be known to the manipulation software of programmable gateway 14 of manipulation device 10 according to the present invention, so that the values of the original message to be manipulated may be manipulated as desired and then the manipulated message may be generated. In addition, the message numbers must be incremented, for example, by device 10, if present, and the required checksums must be recalculated. This information must also be saved in the manipulated message if necessary. It is important that manipulation device 10 intercepts messages intended for nodes 4; 4′, 4″, 4′″ to be tested in a manner invisible to those nodes, manipulates them as predefined, and recomposes them again to form a manipulated message, which corresponds to the protocol specification used in communication system 1. The use of manipulation device 10 according to the present invention must be virtually invisible to the entire communication system 1; in any case, device 10 must not simply delete information in the messages required for proper communication and/or generate erroneous messages that might result in an error of communication system 1. Nodes 4 to be tested receive the messages intended for them quite normally as they did previously, but having manipulated contents and, depending on the repeat rate of time slot x, delayed by one or more cycles n, n+1, . . . . The delay, however, is generally irrelevant for node 4 to be tested, as long as the repeat rate of time slot x is sufficiently high compared to the signal change rate of interest of the manipulated signal. 

What is claimed is:
 1. A device for manipulating an operating state of a communication system including a physical data bus, a plurality of nodes connected to the data bus, and an arrangement for transmitting messages in message frames at fixedly predefined communication cycles, the operating state of the communication system being manipulated from the point of view of at least one of the nodes, the device comprising: a manipulation device situated on the data bus between the at least one node from whose point of view the operating state of the communication system is manipulated and the other nodes of the communication system, wherein the manipulation device includes an arrangement configured to at least one of short-circuit the data bus and interrupt the data bus as the manipulation of the operating state of the communication system.
 2. The device as recited in claim 1, wherein the arrangement configured to at least one of short-circuit the data bus and interrupt the data bus includes at least one switching element.
 3. The device as recited in claim 2, wherein the switching element is configured as one of a switch or a multiplexer.
 4. The device as recited in claim 2, further comprising: an arrangement configured to intercept a message before the message reaches the at least one node; an arrangement configured to manipulate the intercepted message; and an arrangement configured to transmit the manipulated message to the at least one node.
 5. The device as recited in claim 2, wherein the manipulation device is configured to be selectively activated and deactivated, and wherein, in the deactivated state, the manipulation device does not manipulate the physical data bus.
 6. The device as recited in claim 5, wherein idle times are provided between message frames, during which idle times no communication messages are transmitted, and wherein the manipulation device includes at least one switching arrangement for at least one of selectively activating and deactivating during the idle time the arrangement configured to manipulate the intercepted message.
 7. The device as recited in claim 5, wherein the manipulation device has access to information regarding the structure and behavior over time of the communication system, and wherein the manipulation device causes at least one of (a) the arrangement configured to at least one of short-circuit the data bus and interrupt the data bus, and (b) the arrangement configured to manipulate the intercepted message to be selectively activated and deactivated as a function of the information regarding the communication system.
 8. The device as recited in claim 7, wherein the information regarding the communication system is present in the form of a Fibex file.
 9. A communication system, comprising: a physical data bus; a plurality of nodes connected to the data bus; an arrangement for transmitting communication messages among the nodes via the data bus in message frames at fixedly predefined communication cycles; a manipulation device situated on the data bus between at least one of the nodes and the other nodes of the communication system for manipulating an operating state of the communication system from the point of view of the at least one node which is separated from the other nodes by the manipulation device, wherein the manipulation device includes an arrangement configured to at least one of short-circuit the data bus and interrupt the data bus as a manipulation of the operating state of the communication system.
 10. The communication system as recited in claim 9, wherein the communication system is configured as a FlexRay communication system.
 11. A method for manipulating an operating state of a communication system including a physical data bus, a plurality of nodes connected to the data bus, and an arrangement for transmitting messages in message frames at fixedly predefined communication cycles, the method comprising: providing a manipulation device situated on the data bus between at least one of the nodes and the other nodes of the communication system, wherein the manipulation device separates the at least one node from the other nodes and manipulates an operating state of the communication system from the point of view of the at least one node, wherein the manipulation device at least one of short-circuits the data bus and interrupts the data bus as the manipulation of the operating state of the communication system.
 12. The method as recited in claim 11, further comprising: intercepting selected messages intended for the at least one node before the messages reach the at least one node; manipulating, within the manipulation of the operating state of the communication system, the intercepted messages; and transmitting the manipulated messages to the at least one node. 